package com.zh.article;

import com.zh.Scene;
import com.zh.creature.Creature;
import com.zh.creature.PersonSet;

/**
 * @description:
 * @author: zhangHang
 * @date: Created in 2020/6/1 16:01
 * @version: 1.0
 * @modified By:
 */
public abstract class SpecialSkill extends Article{

    private int flag = 2;//特殊技能只能使用的次数

    public SpecialSkill() {
    }

    public SpecialSkill(String id, String description) {
        super(id, description);
    }

    public abstract  void useSpecialSkill(Creature targetCreature, PersonSet personSet, String id, Scene scene);

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
